package cn.mcartoon.mapper;
import  cn.mcartoon.pojo.MmCartoonComment;
import org.apache.ibatis.annotations.Param;
import java.util.List;
import java.util.Map;
import org.springframework.stereotype.Component;

@Component
public interface MmCartoonCommentMapper {

	public MmCartoonComment getMmCartoonCommentById(@Param(value = "id") Long id);

	public List<MmCartoonComment>	getMmCartoonCommentListByMap(Map<String,Object> param);

	public Integer getMmCartoonCommentCountByMap(Map<String,Object> param);

	public Integer insertMmCartoonComment(MmCartoonComment mmCartoonComment);

	public Integer updateMmCartoonComment(MmCartoonComment mmCartoonComment);

	public Integer deleteMmCartoonCommentById(@Param(value = "id") Long id);

	public Integer batchDeleteMmCartoonComment(Map<String,List<String>> params);

}
